<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="../static/bootstrap/css/bootstrap-table.min.css" rel="stylesheet" type="text/css"/>
    <link href="../static/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
    <link href="../static/css/3d.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../static/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="../static/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../static/bootstrap/js/bootstrap-table.min.js"></script>
    <script type="text/javascript" src="../static/bootstrap/js/bootstrap-table-zh-CN.js"></script>
    <script type="text/javascript" src="../static/js/operate_info.js"></script>
    <script type="text/javascript" src="../static/js/fq.js"></script>

</head>
<body>
<div id="snowFlow"></div>
<div id="table" style="width: 75%;margin: 0 auto;">
    <div class="panel-body" style="padding-bottom:0px;">
        {#    <div id="top_toolbar" class="btn-group">#}
        {#        <button id="top_add" type="button" class="btn btn-primary" data-toggle="modal" data-target="#addTopModal">#}
        {#            新增顶事件#}
        {#        </button>#}
        {#    </div>#}
        <table id="info_table"></table>
        <span class="label label-info" style="font-size: small ;">日志会每天写入项目的log的opera+当天日期.txt里面，并会清空数据库</span>
    </div>
</div>
</body>
<script>

    window.onload = function () {
        snowFlow();

        function snowFlow(left, height, src) {
            var container = document.createElement('div');
            var pic = document.createElement('img');
            var snowFlow = document.getElementById('snowFlow');
            pic.className = 'pic';
            container.className = 'container';
            snowFlow.appendChild(container);
            container.appendChild(pic);
            container.style.left = left + 'px';
            container.style.height = height + 'px';
            pic.src = '../static/img/snow.png';
            setTimeout(function () {
                snowFlow.removeChild(container);
            }, 5000);
        }

        setInterval(function () {
            var left = Math.random() * window.innerWidth;
            var height = Math.random() * window.innerHeight;
            var src = '../static/img/snow.png';
            snowFlow(left, height, src);
        }, 500)
    }

</script>
</html>